package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * Created by yangjie on 16/9/11.
 */
public class CropsBean {

    /**
     * K : GET_CROPS
     * V : {"ALLCROPS":[{"cropType":0,"cropTypeName":"茄果类","remark":null,"crops":[{"cropId":1,"cropType":0,"cropName":"西红柿","remark":null},{"cropId":2,"cropType":0,"cropName":"圣女果","remark":null},{"cropId":3,"cropType":0,"cropName":"茄子","remark":null},{"cropId":4,"cropType":0,"cropName":"辣椒","remark":null},{"cropId":5,"cropType":0,"cropName":"菜椒","remark":null},{"cropId":6,"cropType":0,"cropName":"朝天椒","remark":null},{"cropId":7,"cropType":0,"cropName":"五彩椒","remark":null},{"cropId":8,"cropType":0,"cropName":"黄瓜","remark":null},{"cropId":9,"cropType":0,"cropName":"丝瓜","remark":null},{"cropId":10,"cropType":0,"cropName":"南瓜","remark":null},{"cropId":11,"cropType":0,"cropName":"西葫芦","remark":null},{"cropId":12,"cropType":0,"cropName":"苦瓜","remark":null},{"cropId":13,"cropType":0,"cropName":"佛手瓜","remark":null}]},{"cropType":1,"cropTypeName":"豆类","remark":null,"crops":[{"cropId":1,"cropType":1,"cropName":"菜豆","remark":null},{"cropId":2,"cropType":1,"cropName":"毛豆","remark":null},{"cropId":3,"cropType":1,"cropName":"豌豆","remark":null},{"cropId":4,"cropType":1,"cropName":"扁豆","remark":null},{"cropId":5,"cropType":1,"cropName":"芸豆","remark":null},{"cropId":6,"cropType":1,"cropName":"豇豆","remark":null}]},{"cropType":2,"cropTypeName":"白菜类","remark":null,"crops":[{"cropId":1,"cropType":2,"cropName":"大白菜","remark":null},{"cropId":2,"cropType":2,"cropName":"普通白菜(小白菜)","remark":null},{"cropId":3,"cropType":2,"cropName":"菜心","remark":null},{"cropId":4,"cropType":2,"cropName":"青菜","remark":null}]},{"cropType":3,"cropTypeName":"叶菜类","remark":null,"crops":[{"cropId":1,"cropType":3,"cropName":"芹菜","remark":null},{"cropId":2,"cropType":3,"cropName":"西芹","remark":null},{"cropId":3,"cropType":3,"cropName":"茎用莴苣","remark":null},{"cropId":4,"cropType":3,"cropName":"落葵","remark":null},{"cropId":5,"cropType":3,"cropName":"苋菜","remark":null},{"cropId":6,"cropType":3,"cropName":"花菜","remark":null},{"cropId":7,"cropType":3,"cropName":"雍菜","remark":null},{"cropId":8,"cropType":3,"cropName":"芫荽","remark":null},{"cropId":9,"cropType":3,"cropName":"韭菜","remark":null},{"cropId":10,"cropType":3,"cropName":"油麦菜","remark":null},{"cropId":11,"cropType":3,"cropName":"香菜","remark":null},{"cropId":12,"cropType":3,"cropName":"雪里蕻","remark":null},{"cropId":13,"cropType":3,"cropName":"空心菜","remark":null},{"cropId":14,"cropType":3,"cropName":"甘蓝","remark":null},{"cropId":15,"cropType":3,"cropName":"紫甘蓝","remark":null},{"cropId":16,"cropType":3,"cropName":"生菜","remark":null},{"cropId":17,"cropType":3,"cropName":"黄秋葵","remark":null},{"cropId":18,"cropType":3,"cropName":"马齿苋","remark":null},{"cropId":19,"cropType":3,"cropName":"娃娃菜","remark":null}]},{"cropType":4,"cropTypeName":"薯芋类","remark":null,"crops":[{"cropId":1,"cropType":4,"cropName":"马铃薯","remark":null},{"cropId":2,"cropType":4,"cropName":"芋","remark":null}]},{"cropType":5,"cropTypeName":"根茎类","remark":null,"crops":[{"cropId":1,"cropType":5,"cropName":"胡萝卜","remark":null},{"cropId":2,"cropType":5,"cropName":"白萝卜","remark":null},{"cropId":3,"cropType":5,"cropName":"大葱","remark":null},{"cropId":4,"cropType":5,"cropName":"小葱","remark":null},{"cropId":5,"cropType":5,"cropName":"蒜","remark":null}]},{"cropType":6,"cropTypeName":"花菜类","remark":null,"crops":[{"cropId":1,"cropType":6,"cropName":"白菜花","remark":null},{"cropId":2,"cropType":6,"cropName":"绿菜花","remark":null}]},{"cropType":7,"cropTypeName":"食用菌","remark":null,"crops":[{"cropId":1,"cropType":7,"cropName":"平菇","remark":null},{"cropId":2,"cropType":7,"cropName":"草菇","remark":null},{"cropId":3,"cropType":7,"cropName":"香菇","remark":null}]}]}
     */

    private String K;
    private VBean V;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public static class VBean {
        /**
         * cropType : 0
         * cropTypeName : 茄果类
         * remark : null
         * crops : [{"cropId":1,"cropType":0,"cropName":"西红柿","remark":null},{"cropId":2,"cropType":0,"cropName":"圣女果","remark":null},{"cropId":3,"cropType":0,"cropName":"茄子","remark":null},{"cropId":4,"cropType":0,"cropName":"辣椒","remark":null},{"cropId":5,"cropType":0,"cropName":"菜椒","remark":null},{"cropId":6,"cropType":0,"cropName":"朝天椒","remark":null},{"cropId":7,"cropType":0,"cropName":"五彩椒","remark":null},{"cropId":8,"cropType":0,"cropName":"黄瓜","remark":null},{"cropId":9,"cropType":0,"cropName":"丝瓜","remark":null},{"cropId":10,"cropType":0,"cropName":"南瓜","remark":null},{"cropId":11,"cropType":0,"cropName":"西葫芦","remark":null},{"cropId":12,"cropType":0,"cropName":"苦瓜","remark":null},{"cropId":13,"cropType":0,"cropName":"佛手瓜","remark":null}]
         */

        private List<ALLCROPSBean> ALLCROPS;

        public List<ALLCROPSBean> getALLCROPS() {
            return ALLCROPS;
        }

        public void setALLCROPS(List<ALLCROPSBean> ALLCROPS) {
            this.ALLCROPS = ALLCROPS;
        }

        public static class ALLCROPSBean {
            private int cropType;
            private String cropTypeName;
            private Object remark;
            /**
             * cropId : 1
             * cropType : 0
             * cropName : 西红柿
             * remark : null
             */

            private List<CropssBean> crops;

            public int getCropType() {
                return cropType;
            }

            public void setCropType(int cropType) {
                this.cropType = cropType;
            }

            public String getCropTypeName() {
                return cropTypeName;
            }

            public void setCropTypeName(String cropTypeName) {
                this.cropTypeName = cropTypeName;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }

            public List<CropssBean> getCrops() {
                return crops;
            }

            public void setCrops(List<CropssBean> crops) {
                this.crops = crops;
            }

            public static class CropssBean {
                private int cropId;
                private int cropType;
                private String cropName;
                private String cropUrl;
                private Object remark;

                public String getCropUrl() {
                    return cropUrl;
                }

                public void setCropUrl(String cropUrl) {
                    this.cropUrl = cropUrl;
                }

                public int getCropId() {
                    return cropId;
                }

                public void setCropId(int cropId) {
                    this.cropId = cropId;
                }

                public int getCropType() {
                    return cropType;
                }

                public void setCropType(int cropType) {
                    this.cropType = cropType;
                }

                public String getCropName() {
                    return cropName;
                }

                public void setCropName(String cropName) {
                    this.cropName = cropName;
                }

                public Object getRemark() {
                    return remark;
                }

                public void setRemark(Object remark) {
                    this.remark = remark;
                }
            }
        }
    }
}
